{include file="Index/header" /}
 
    <form action="{:url('System/repwd')}" method="post" onsubmit="return check()" /> 
	    <input type="hidden" name="sbt" value="1">
    	<div class="formbody">
    		<div class="formtitle"><span>修改密码</span></div>
		    <ul class="forminfo">
		     	
			    <li>
			    	<label>原始密码</label>
			    	<input name="oldPass" id="oldPass" type="password" class="dfinput"   size="30"/>
			    	<font color=grey>&nbsp;&nbsp;*请输入旧密码</font>
			    </li>
			    <li>
			    	<label>新密码</label>
			    	<input name="newPass" id="newPass" type="password" class="dfinput"  size="30"/>
			    	<font color=grey>&nbsp;&nbsp;*请输入新密码</font>
			    </li> 
			     
			  	
		    	<li>
		    	 	<label>确认新密码</label>
			    	<input name="newPass2" id="newPass2" type="password" class="dfinput" size="30" />
			    	<font color=grey>&nbsp;&nbsp;*请再次输入新密码</font>
			    </li>
			    
			    
			    <li>
			    	<label>&nbsp;</label>
			   		 <input name="sbt" type="submit" class="btn" value="确认保存"/>
			   	</li>
		    </ul>
    	</div>
	</form>
	
	
<script>
//前台检测
 function check(){
	if($("#oldPass").val().length<1){
		window.parent.callNotice('请输入原始密码'); 
		return false;
	}
	if($("#newPass").val().length<1){
		window.parent.callNotice('请输入新密码'); 
		return false;
	}
	if($("#newPass2").val().length<1){
		window.parent.callNotice('请输入再次输入新密码'); 
		return false;
	}
	
	if($("#newPass2").val()!=$("#newPass").val()){
		window.parent.callNotice('您2次输入的密码不一样，请重新输入'); 
		return false;
	}
	 
 }
</script>

{include file="Index/footer" /}